<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div class="page-content">
<div class='box'>
	<div class='cell'>
		<a href="welcome" class="startbbs1">开心吧</a> <span class="chevron">&nbsp;›&nbsp;
		</span> <a href="admin!sectionList">supperAdmin管理后台</a> <span class="chevron">&nbsp;›&nbsp;
		</span>
	</div>
	<div class='cell'>
		<table class='topics table'>
			<thead>
				<tr>
					<td align="center" class='w50'>ID</td>
					<td align="center" class='auto'>版块名</td>
					<td align='center' class='auto'>版主ID</td>
					<td align='center' class='auto'>简介</td>
					<td align='center' class='auto'>发帖量</td>
					<td align='center' class='auto'>点击量</td>
					<td align='center'>操作</td>
				</tr>
			</thead>
			<tbody>
				<s:iterator value="list">

					<tr class='center'>
						<td class='w50'><strong class='green'> ${sid} </strong></td>
						<td class='auto'><a href="topic!listAll?section.sid=${sid}">${sname}</a>
						</td>
						<td class='auto'><a
							href="user!userDetails?uid=${bbsusers.uid}"
							class="rabel profile_link" title="${bbsusers.uname}">${bbsusers.uname}</a>
						</td>
						<td align='center' class='auto'>${sprofile}</td>
						<td align='center' class='auto'>${stopicCount}</td>
						<td align='center' class='auto'><small class='fade1'>
								${sclickcount}</small></td>
						<td class='w100'><a href="admin!toEditUI?section.sid=${sid }"
							class="ajax-command btn btn-primary btn-sm" id="edit">编辑</a></td>
					</tr>
				</s:iterator>

			</tbody>
		</table>
		<div class='form-actions'>
			<input class="btn btn-primary btn-danger" name="batch_del"
				type="submit" value="批量删除" /> <a class="btn btn-primary"
				href="admin!toAddsection">添加</a>
		</div>
	</div>
	<div align='center' class='inner'>
		<div>
			<ul class='pagination'>
			</ul>
		</div>
	</div>
</div>
</div>
<script type="text/javascript" src="${pageContext.request.contextPath}/backadmin/static/js/admin/admin.js"></script>
